import request from "../request.js"

// 登录
function requestLogin(data){
	return request({
		method:'post',
		url:`/lejuClient/login/doLogin`,
		data
	})
}
// 重置密码 
function requestResetPassword(username){
	return request({
		method:'post',
		url:`/lejuClient/member/resetPassword/${username}`,
	})
}

// 注册
function requestRegister(data){
	return request({
		method:'post',
		url:`/lejuClient/member/register`,
		data,
	})
}

export {
	requestLogin,
	requestResetPassword,
	requestRegister
}